import React from 'react';
import { useSelector, useDispatch } from 'react-redux'
import BacchOpe from './components/batchOperation'
import './components/style/AdminParticulars.scss'
const AdminParticulars = () => {
    //获取store中的数据
    const adminData = useSelector((state: any) => state.AdminParticulars);
    console.log(adminData)
    return (
        <div className='adminPar'>
            <div className='adminPar__head'>
                <div>
                    <img src={adminData.imgUrl} style={{ width: 116 }} />
                </div>

                <div className='adminPar__head__p'>
                    <div className='adminPar__head__p__sp'>
                        <p>昵称：<span>{adminData.name}</span></p>
                        <p>客户编号：<span>784543232345</span></p>
                        <p>加入时间：<span>{adminData.joinTime}</span></p>
                        <p>客户渠道：<span>百度小程序</span></p>
                    </div>
                    <div>
                        <BacchOpe />
                    </div>
                </div>
            </div>
        </div>
    );
};

export default AdminParticulars;